package com.kalaqia.im.library.account;

import dagger.Module;
import dagger.Provides;
import io.reactivex.Observable;

/**
 * function:
 * project:kalaqia
 * describe:
 * created owner:kalaqia 421407393@qq.com
 * created date:2017/8/16 16:27
 */
//<editor-fold desc="version update log">
// updare owner:kalaqia  421407393@qq.com
// update datetime:2017/8/16 16:27 
// update remark:
//</editor-fold>
@Module
public class AccountModule {

    private String account;
    private String password;

    public AccountModule(String account, String password) {
        this.account = account;
        this.password = password;
    }

    @Provides
    public Observable<Boolean> provideLoginObservable() {
        return new IMAccountObservable(account, password);
    }

}
